package cate.common.table.activity.exorcism.sheet;


import cate.common.table.ESheet;
import cate.common.table.activity.exorcism.row.ExorcismTaskNumRwdRow;
import easy.java.dev.note.NoteClass;

@NoteClass("驱魔之夜-累积任务奖励")
public class ExorcismTaskNumRwdSheet extends ESheet<ExorcismTaskNumRwdRow> {

    @Override
    public String getSheetName() {
        return "累积任务奖励";
    }

    public ExorcismTaskNumRwdRow findRow(int tid, int configTid) {
        for (ExorcismTaskNumRwdRow row : this.getList()) {
            if (row.tid == tid && row.configTid == configTid) {
                return row;
            }
        }
        return null;
    }
}
